﻿<? if(!defined('IN_DISCUZ')) exit('Access Denied');
include template('header');
?>
<table width="780" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td width="191" height="135" rowspan="2">
		<!-- 倒计时 -->
<table width="100%" height="88"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="49"><img src="images/djsp.jpg" width="191" height="49"></td>
      </tr>
      <tr class="aq_mibg">
        <td height="180" align="center">
<table width="100%"  border="0" cellspacing="6" cellpadding="0">
  <tr>
    <td colspan="2" align="center" class="djs_head">年度总任务</td>
  </tr>
  <tr>
    <td colspan="2" align="center" class="djs_text"><?=$row_dj[rjbl] ?>万TEU</td>
  </tr>
  <tr>
    <td colspan="2" align="center" class="djs_head">全年剩余天数</td>
  </tr>
  <tr>
    <td colspan="2" align="center" class="djs_text"><?=$cadays ?>天</td>
  </tr>
  <tr>
    <td colspan="2" align="center" class="djs_head">距年底日均需办理</td>
  </tr>
  <tr>
    <td colspan="2" align="center" class="djs_text"><?=$row_dj[ndzrw] ?>TEU/天</td>
  </tr>
</table>
	</td>
      </tr>
      <tr>
        <td><img src="images/xia.gif" width="191" height="14"></td>
      </tr>
    </table>	
		</td>
    <td width="257"></td>
    <td width="332" rowspan="2">
	<!-- 倒计时 -->
<table width="330" height="235" border="0" class="dttext">
  <tr>
    <td height="25" colspan="4" align="center" class="dantiaobg">集装箱运输指标</td>
  </tr>
  <tr>
    <td height="5" colspan="4" align="center"  bgcolor="#eceee3"></td>
  </tr>
  <tr>
    <td  height="25" colspan="4" align="center" bgcolor="#eceee3"><a href="scrkshow.php?title=<?=date("Ym",strtotime($row_day['tdate'])) ?>&type=rili " title="内容提示：<?=date("Y年m月d日",strtotime($row_day['tdate'])) ?>月度详细资料表" target="_blank"><?=date("Y年m月d日",strtotime($row_day['tdate'])) ?>任务进度表</a></td>
  </tr>
  <tr>
    <td height="5" colspan="4" align="center"  bgcolor="#eceee3"></td>
  </tr>
  <tr bgcolor="#e3e3e3">
    <td width="58" align="center">单位</td>
    <td width="78" align="center">发送箱(TEU)</td>
    <td width="82" align="center">发送吨(万吨)</td>
    <td width="94" align="center">运输收入(万元)</td>
  </tr>
  <tr>
    <td align="center" bgcolor="#eceee3">当日</td>
    <td align="center" valign="middle" bgcolor="#eceee3"><?=round($row_day['fsjzx'],1) ?></td>
    <td align="center" valign="middle" bgcolor="#eceee3"><?=round($row_day['fsd']/10000,1) ?></td>
    <td align="center" valign="middle" bgcolor="#eceee3"><?=round($row_day['yssr']/10000,1) ?></td>
  </tr>
  <tr bgcolor="#e3e3e3">
    <td align="center">月累计</td>
    <td align="center" valign="middle"><?=round($row_month['fsjzx'],0) ?></td>
    <td align="center" valign="middle"><?=round($row_month['fsd']/10000,0) ?></td>
    <td align="center" valign="middle"><?=round($row_month['yssr']/10000,0) ?></td>
  </tr>
 <tr bgcolor="#e3e3e3">
	<td align="center" bgcolor="#eceee3">年累计</td>
	<td align="center" valign="middle" bgcolor="#eceee3"><?=round($row_year['fsjzx'],0) ?></td>
	<td align="center" valign="middle" bgcolor="#eceee3"><?=round($row_year['fsd']/10000,0) ?></td>
	<td align="center" valign="middle" bgcolor="#eceee3"><?=round($row_year['yssr']/10000,2) ?></td>
  </tr>
</table>
</td>
  </tr>
  <tr>
    <td align="center" valign="top"><!-- 幻灯新闻 -->
<iframe name="hdnews" frameborder="0" height="260" width="260" scrolling="no" src="forumdata\templates\hdnews.tpl.php"></iframe>	
</td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr class="style1">
    <td width="191" height="135" rowspan="2">
<table width="100%" height="88"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="49"><img src="images/aqts.jpg" width="191" height="49"></td>
      </tr>
      <tr class="aq_mibg">
        <td height="180">
<table width="100%"  border="0" cellspacing="6" cellpadding="0"  class="aq_text">
<?php 
  foreach($row_aqxx as $aqxx){
	$days=$aqxx['days'];
	$cadays=datediff('d',$aqxx['startdate'],$currentdate);
	if($cadays>0){
		$days+=$cadays;
	}
?>
  <tr>
    <td width="645"><?=$aqxx['title']?>：</td>
    <td width="110"><?=$days?>天</td>
<?php
	}
?>
  </tr>
</table>
</td>
      </tr>
      <tr>
        <td><img src="images/xia.gif" width="191" height="14"></td>
      </tr>
    </table>
   	</td>
    <td width="292"></td>
    <td width="285" rowspan="2" align="right" valign="middle">
	<!-- 动态信息 -->
 <?php
$dtxx_msg='动态信息';
$dtxx_url='/news.php?type=jian';
dtxx($row_dtxx,$dtxx_msg,$dtxx_url);
?>
</td>
  </tr>
  <tr>
    <td><!-- 重要文电 -->
 <?php
$dtxx_msg='重要文电';
$dtxx_url='/news.php?type=ishit';
dtxx($row_zywd,$dtxx_msg,$dtxx_url);
?>
</td>
  </tr>
</table>
<? include template('footer');
?>
